<%= form_for(@project) do |f| %>
  <% if @project.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@project.errors.count, "error") %> prohibited this project from being saved:</h2>

      <ul>
      <% @project.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :name %><br />
    <%= f.text_field :name %>
  </div>
  <div class="field">
    <%= f.label :summary %><br />
    <%= f.text_field :summary %>
  </div>
  <div class="field">
    <%= f.label :description %><br />
    <%= f.text_area :description %>
  </div>

  <div class="field">
    <%= f.label :budget %><br />
    <%= f.text_field :maximum_budget %>
  </div>
  <div class="field">
    <%= f.label :Expected_number_of_days_in_which_you_will_return_money %><br />
    <%= f.text_field :days_to_return_money %>
  </div>

  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>
